{template header.html}
<script type="text/javascript" src="{MEMBER_URL}statics/js/ajax.upload.js"></script>
<script type="text/javascript">
{if IS_POST}
art.dialog.tips("{lang('000')}", 3, 1);
{/if}
</script>
<form action="" method="post" name="myform" id="myform">
<div class="subnav">
	<div class="content-menu ib-a blue line-x">
		{$menu}
	</div>
	<div class="bk10"></div>
	<div class="explain-col">
        <font color="gray">{lang('html-399')}</font>
	</div>
    <div class="bk10"></div>
	{loop $pay $dir $t}
    <fieldset>
        <legend>{$t.name}</legend>
        <table width="100%" class="table_form">
            <tr>
                <th width="200">{lang('html-153')}：</th> 
                <td><input name="setting[use][]" type="checkbox" {if @in_array($dir, $setting['use'])}checked="checked"{/if} value="{$dir}" /></td>
            </tr>
			<?php require FCPATH.'member/pay/'.$dir.'/setting.php';?>
            <tr>
                <th style="border:none">{lang('html-820')}：</th> 
                <td style="border:none"><input type="text" name="setting[order][{$dir}]" class="input-text" size="10" value="{intval($setting['order'][$dir])}" /></td>
            </tr>
        </table>
    </fieldset>
	<div class="bk10"></div>
	{/loop}
</div>
<div class="fixed-bottom">
    <div class="fixed-but text-c">
        <div class="button"><input value="{lang('save')}" type="submit" name="submit" class="cu" style="width:100px;" /></div>
    </div>
</div>
{template footer.html}